package com.h6.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.h6.crm.entity.Brand;

@Mapper
public interface BrandMapper extends BaseMapper<Brand> {

    @Select("select * from Sa_Brand where Enabled = 0 or Enabled is null order by Name asc")
    List<Brand> queryEnabledList();

}
